package com.lnking.lnkingplace.model.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lnking.starter.export.annotation.ExcelColumn;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangqt
 * @since 2022-09-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="IsolationPositivePersonnel对象", description="")
public class IsolationPositivePersonnel extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场所id")
    private String placeId;

    @ApiModelProperty(value = "房间号")
    private String roomNumber;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "家庭住址")
    private String address;

    @ApiModelProperty(value = "解除隔离前往地址")
    private String moveAddress;

    @ApiModelProperty(value = "所属街道")
    private String street;

    @ApiModelProperty(value = "人员类型")
    private String personnelType;

    @ApiModelProperty(value = "来源地")
    private String source;

    @ApiModelProperty(value = "所属区域")
    private String area;

    @ApiModelProperty(value = "入住时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "隔离结束时间")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDate;

    @ApiModelProperty(value = "删除标识")
    @JsonIgnore
    private Boolean delFlag;

    @ApiModelProperty(value = "搬离状态(是，否)")
    private String moveStatus;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "审核状态")
    private String auditStatus;

    @ApiModelProperty(value = "备注")
    private String note;

    @ApiModelProperty(value = "核酸轮次")
    private Integer round;

    @ApiModelProperty(value = "管控建议")
    private String controlProposal;

    @ApiModelProperty(value = "管控天数")
    private Integer controlDays;

    @ApiModelProperty(value = "所属社区")
    private String community;

    @ApiModelProperty(value = "重点人员")
    private String importantPersonnel;

    @ApiModelProperty(value = "核酸检测采样时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime confirmedSamplingDate;

    @ApiModelProperty(value = "核酸检测结果出具时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime confirmedDate;

    @ApiModelProperty(value = "转运时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime transitDate;

    @ApiModelProperty(value = "消杀时间")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime killDate;

    @ApiModelProperty(value = "环境采样时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime environmentalSamplingDate;

    @ApiModelProperty(value = "环境检测结果")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String environmentalResult;

    @ApiModelProperty(value = "核酸检测结果")
    private String confirmedResult;

    @ApiModelProperty(value = "送样时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deliverDate;
}
